package Deom1;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 周斌
 * Date: 2023-11-20
 * Time: 23:04
 */
public class Dog extends Animal{

    public Dog(String name) {
        super(name);
    }
    @Override
    public void bark() {
        System.out.println(super.name+"汪汪汪叫");
    }
}
